package com.edu.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.edu.admin.common.BaseMapper;
import com.edu.admin.entity.SysPhase;
import com.edu.admin.vo.PhaseVo;

/**
 * 学段表数据操作接口
 * 
 * @author Wangjiong
 * 
 */
@Mapper
public interface PhaseMapper extends BaseMapper<SysPhase> {

	/**
	 * 获取学段列表
	 * 
	 * @param 
	 * @return List<PhaseVo>
	 */
	List<PhaseVo> getPhaseList();
	
	/**
	 * 学段查重
	 * 
	 * @param phaseId
	 * @param phaseName
	 * 
	 * @return List<PhaseVo>
	 */
	List<PhaseVo> findPhaseByPhaseName(@Param("phaseId") Long phaseId,@Param("phaseName")String phaseName);
	
	

}
